package com.zhang.webadmin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhang.webadmin.pojo.AclPermission;
import com.zhang.webadmin.pojo.AclUser;

import java.util.List;

/**
 * @author jf
 */
public interface AclUserService extends IService<AclUser> {

    void setRole(long userId, List<Long> roleIdList);

    /**
     * 查询用户有哪些权限
     */
    List<AclPermission> queryPermission(long aclUserId);

    List<Long> hasRole(Long aclUserId);
}
